/**
 * Copyright:  Copyright (c) 2013
 *
 * @FileName		: ResultShippingServiceImpl.java
 * @PageName		: 실적 - 출하량
 * @Date			: 오후 6:22:09
 * @LastModifier	: 최경민
 * @LastModifyDate	: 
 * @LastModifier	: 
 * Change history	:
 */
package com.pulp.sales.service.impl;

import java.sql.SQLException;
import java.util.List;

import com.pulp.sales.dao.ResultShippingDAO;
import com.pulp.sales.model.ResultShippingInfo;
import com.pulp.sales.service.ResultShippingService;

/**
 * @author 최경민
 * 
 */
public class ResultShippingServiceImpl implements ResultShippingService {
	private ResultShippingDAO resultShippingDAO;

	/**
	 * ResultShippingDAO의 객체를 반환한다.
	 * 
	 * @return the result shipping dao
	 */
	public ResultShippingDAO getResultShippingDAO() {
		return resultShippingDAO;

	}

	/**
	 * ResultShippingDAO의 객체를 설정한다.
	 * 
	 * @param dao the new result shipping dao
	 */
	public void setResultShippingDAO(ResultShippingDAO dao) {
		this.resultShippingDAO = dao;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.pulp.management.service.ResultShippingService#
	 * getSalesShippingStackChartList()
	 */
	@Override
	public List<ResultShippingInfo> getSalesShippingStackChartList() throws SQLException {
		return resultShippingDAO.getSalesShippingStackChartList();
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see
	 * com.pulp.management.service.ResultShippingService#getSalesShippingTableList
	 * ()
	 */
	@Override
	public List<ResultShippingInfo> getSalesShippingTableList() throws SQLException {
		return resultShippingDAO.getSalesShippingTableList();
	}

}
